package com.zyq.intercepter;

import org.springframework.web.method.HandlerMethod;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @author xiaochi
 * @date 2021/4/30 18:02
 * @desc BaseInterceptor
 */
public interface BaseInterceptor {

    /**
     * 执行
     * @param request
     * @param response
     * @param method
     * @return
     */
    boolean doHandler(HttpServletRequest request, HttpServletResponse response, HandlerMethod method);
}
